package com.eduplatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("school")
public class School implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;

    private String code;

    private String address;

    private String logo;

    private String description;

    private String contactPerson;

    private String contactPhone;

    private String contactEmail;

    private Integer status; // 0: inactive, 1: active

    private Date createTime;

    private Date updateTime;

    @TableLogic
    private Integer isDeleted;
}